Skip to content

Add line number to JSON parse error#12

Open
wryun wants to merge 1 commit into
jmespath:masterfrom
wryun:add-line-number-to-json-parse-error
Open

Add line number to JSON parse error#12
wryun wants to merge 1 commit into
jmespath:masterfrom
wryun:add-line-number-to-json-parse-error

Conversation

@wryun

@wryun wryun commented Aug 9, 2017

Copy link
Copy Markdown

Sometimes I end up feeding jp invalid json, and ...

This possibly has performance implications, though?

@wryun

wryun commented Aug 9, 2017

Copy link
Copy Markdown
Author

(apologies if I've done something silly here - still learning how to use Go - can add tests if this is judged useful)

EDIT: added a couple of tests.

@wryun wryun force-pushed the add-line-number-to-json-parse-error branch from 87fecce to d627bb9 Compare August 9, 2017 09:48
@suntong

suntong commented May 26, 2021

Copy link
Copy Markdown

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants